If you went on unpaid leave for 30 days or more, you can receive unemployment benefit, depending on your compliance with the
conditions of entitlement to unemployment benefit.
If, eventually, your unpaid leave is shorter than 30 days, you will be entitled to maternity allowance in accordance to the conditions of entitlement.